package com.mdp.im.core.utils.msg;

/**
 * 动作名称常量类
 * 消息体中 action 取值范围
 * @author chenyc
 * @date 2020/3/29
 */
public class Action {
    
    /**
     * 在线状态改变
     */
    public static final String ONLINE_STATUS_CHANGED = "onlineStatusChanged";
    
    /**
     * 昵称改变
     */
    public static final String NICKNAME_CHANGED = "nicknameChanged";
    
    /**
     * 头像改变
     */
    public static final String AVATAR_CHANGED = "avatarChanged";
    
    /**
     * 收到新消息
     */
    public static final String NEW_MESSAGE = "newMessage";
    
    /**
     * 读取历史消息
     */
    public static final String HIS_MESSAGE = "hisMessage";
    
    /**
     * 创建群组
     */
    public static final String CHANNEL_GROUP_CREATE = "channelGroupCreate";
    
    /**
     * 群组被删除
     */
    public static final String CHANNEL_GROUP_REMOVE = "channelGroupRemove";
    
    /**
     * 加入群组
     */
    public static final String JOIN_CHANNEL_GROUP = "joinChannelGroup";
    
    /**
     * 离开群组
     */
    public static final String LEAVE_CHANNEL_GROUP = "leaveChannelGroup";
    
    /**
     * 被移除群组
     */
    public static final String REMOVE_FROM_CHANNEL_GROUP = "removeFromChannelGroup";
    
    /**
     * 消息被删除事件
     */
    public static final String MESSAGE_REMOVED = "messageRemoved";
    
    /**
     * 群组名称改变事件
     */
    public static final String CHANNEL_GROUP_NAME_CHANGED = "channelGroupNameChanged";
    
    /**
     * 群组成员数量变更通知
     */
    public static final String MEMBERS_COUNT_CHANGED = "membersCountChanged";
    
    /**
     * 将会话绑定到组中
     */
    public static final String BIND_CHANNEL_TO_GROUPS="bindChannelToGroups";
    
    /**
     * 将会话从组中移除
     */
    public static final String REMOVE_CHANNEL_FROM_GROUP="removeChannelFromGroup";
    
    
    /**
     * 查询我所在的群组
     */
    public static final String LIST_MY_CHANNEL_GROUOPS="listMyChannelGroups";
    
    /**
     * 查询我最近的私人会话
     */
    public static final String LIST_MY_PRICHAT_CHANNEL_GROUPS="listMyPrichatChannelGroups";
    
    /**
     * 查询最近发给我的添加好友邀请
     */
    public static final String QUERY_JOIN_FREND_INVITES="queryJoinFrendInvites";
    
    /**
     * 查询最近的发给我的添加群邀请
     */
    public static final String QUERY_JOIN_GROUP_INVITES="queryJoinGroupInvites";

    /**
     * 消息状态报告
     */
	public static final String MESSAGE_STATE_REPORT = "messageStateReport";

}
